package com.wltt.product.ahuthr.mapper;

import com.wltt.product.ahuthr.mapper.base.BaseMapper;
import com.wltt.product.ahuthr.model.po.SystemFlowPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @ClassName: SystemFlowPO
 * @Description: 系统业务流程 Dao
 * @Date: 2024-09-05 15:14:09
 * @Author yanggl
 */
public interface SystemFlowMapper extends BaseMapper<SystemFlowPO, Long> {

    /**
     * 根据编码查询系统流程
     *
     * @param systemFlowCode
     * @return
     */
    SystemFlowPO queryByCode(@Param("systemFlowCode") String systemFlowCode);

    /**
     * 查询所有系统流程
     *
     * @return
     */
    List<SystemFlowPO> queryAll();
}